<?php
namespace app\model;

class M_goods
{
    //字段数据
    public static $fields=array();

    public static function getFields(){
        self::$fields["id"]=array(
            "type"=>"int",
        );
        self::$fields["storeNums"]=array(
            "type"=>"int",
        );
        self::$fields["name"]=array(
            "type"=>"str",
        );
        self::$fields["goodsNo"]=array(
            "type"=>"str",
        );
        self::$fields["modelId"]=array(
            "type"=>"int",
        );
        self::$fields["sellPrice"]=array(
            "type"=>"str",
        );
        self::$fields["marketPrice"]=array(
            "type"=>"str",
        );
        self::$fields["costPrice"]=array(
            "type"=>"str",
        );
        self::$fields["upTime"]=array(
            "type"=>"int",
        );
        self::$fields["downTime"]=array(
            "type"=>"int",
        );
        self::$fields["createTime"]=array(
            "type"=>"int",
        );
        self::$fields["thumb"]=array(
            "type"=>"str",
        );
        self::$fields["status"]=array(
            "type"=>"int",
        );
        self::$fields["keywords"]=array(
            "type"=>"str",
        );
        self::$fields["description"]=array(
            "type"=>"str",
        );
        self::$fields["searchWords"]=array(
            "type"=>"str",
        );
        self::$fields["visit"]=array(
            "type"=>"int",
        );
        self::$fields["favorite"]=array(
            "type"=>"int",
        );
        self::$fields["sort"]=array(
            "type"=>"int",
        );
        self::$fields["specMap"]=array(
            "type"=>"str",
        );
        self::$fields["comments"]=array(
            "type"=>"int",
        );
        self::$fields["sale"]=array(
            "type"=>"int",
        );
        self::$fields["grade"]=array(
            "type"=>"int",
        );
        self::$fields["sellerId"]=array(
            "type"=>"int",
        );
        self::$fields["isShare"]=array(
            "type"=>"int",
        );
        self::$fields["isVirtual"]=array(
            "type"=>"int",
        );
        self::$fields["virtualType"]=array(
            "type"=>"int",
        );
        self::$fields["categoryId"]=array(
            "type"=>"int",
        );
        self::$fields["content"]=array(
            "type"=>"str",
        );
        self::$fields["virtualConfig"]=array(
            "type"=>"str",
        );
        self::$fields["unit"]=array(
            "type"=>"str",
        );
        self::$fields["weight"]=array(
            "type"=>"str",
        );
        return self::$fields;
    }
}